﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Data.GameData
{
    public enum BasicEventType
    {
        eGAME,
        eRACE,
        eUNIT,
        eSTAR_SYSTEM,
        eMAP,
        eORDER
    }

    public enum BasicOperationType
    {
        eADD,
        eDELETE,
        eMODIFY
    }

   public class BasicEventArgs : EventArgs
    {
        private Guid ident;
        private BasicEventType type;
        private BasicOperationType operation;

        public Guid Ident
        {
            get { return ident; }
            set { ident = value; }
        }

        public BasicEventType EventType
        {
            get { return type; }
            set { type = value; }
        }

        public BasicOperationType Operation
        {
            get { return operation; }
            set { operation = value; }
        }

        public BasicEventArgs()
        {
        }

        public BasicEventArgs(Guid id, BasicEventType eType, BasicOperationType eOperation)
        {
            ident = id;
            type = eType;
            operation = eOperation;
        }
    }
}
